package com.neusoft.elmboot.po.point;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

@Data
@AllArgsConstructor
@Transactional(rollbackFor = Exception.class)
@TableName("point")
public class Point {
    /**
     * 积分对应的用户id
     */
    @TableId
    private String id;

    /**
     * 积分总值
     */
    @TableField(value = "value")
    private Integer value;
}
